Skip to content

docs(flux-klein): img2img uses a single init_image (correct the Max 4 wording)#113

Open
adhikjoshi wants to merge 1 commit into
mainfrom
docs/flux-klein-img2img-single-image
Open

docs(flux-klein): img2img uses a single init_image (correct the Max 4 wording)#113
adhikjoshi wants to merge 1 commit into
mainfrom
docs/flux-klein-img2img-single-image

Conversation

@adhikjoshi

@adhikjoshi adhikjoshi commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What

Corrects the Enterprise · Flux Klein · Image to Image docs: init_image is effectively a single image, not up to 4.

  • img2img.mdx: init_image now reads "Accepts an array of image URLs or a single image URL string. Only the first image is used for generation."
  • openapi.json: drop maxItems: 4 and the "Max 4" description.

Why

Verified against the worker source (flux-klein-server/server/app.py): the /img2img route reads a single request.form.get("init_image") and never consumes init_image_1..4 over HTTP. The previous docs (merged in #112) claimed "up to 4", which is inaccurate.

Companion to the API fix ModelsLab/modelslab-frontend-v2#2512, which flattens the documented array to a single init_image string so the endpoint actually works.


View with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is enabled.

The flux_klein img2img worker reads a single init_image URL and uses only
the first image; it does not process up to 4. Correct the field reference
and OpenAPI schema (drop the "Max 4" wording) to match actual behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant